<?php
  require_once "util.php";
?>

<script type="text/javascript">
$(document).ready(function(){
  ddd_tip();
  ddd_combo();
});

var DDD_VALIDATE_MESSAGES = {
  required: "Campo deve ser preenchido.",
  email: "E-mail deve ser válido.",
  brazilian_date: "Formato de data inválido."
}


CKFinder.setupCKEditor(null, './js/ckfinder/');
CKEDITOR.replace( 'content',
{
  toolbar : 'Toolbar'
});
</script>


<?php
if (get_flash(false)) {
  $msg = get_flash(true);
?>

<script type='text/javascript'> 
  $('#div_flash').text("<?php echo $msg ?>");
  $('#div_flash').attr('style', 'display: block');
</script>

<?php       
}
?>

</body>

</html>
<?php
ob_end_flush();
?>
